package com.jianzhi.job.service;
import com.jianzhi.job.entity.XyhJzJobEntity;
import com.jianzhi.price.entity.XyhJzPricelistEntity;
import com.jianzhi.step.entity.XyhJzStepEntity;

import java.util.List;
import org.jeecgframework.core.common.service.CommonService;
import java.io.Serializable;

public interface XyhJzJobServiceI extends CommonService{
	
 	public <T> void delete(T entity);
	/**
	 * 添加一对多
	 * 
	 */
	public void addMain(XyhJzJobEntity xyhJzJob,
	        List<XyhJzPricelistEntity> xyhJzPricelistList,List<XyhJzStepEntity> xyhJzStepList) ;
	/**
	 * 修改一对多
	 * 
	 */
	public void updateMain(XyhJzJobEntity xyhJzJob,
	        List<XyhJzPricelistEntity> xyhJzPricelistList,List<XyhJzStepEntity> xyhJzStepList);
	public void delMain (XyhJzJobEntity xyhJzJob);
	
 	/**
	 * 默认按钮-sql增强-新增操作
	 * @param id
	 * @return
	 */
 	public boolean doAddSql(XyhJzJobEntity t);
 	/**
	 * 默认按钮-sql增强-更新操作
	 * @param id
	 * @return
	 */
 	public boolean doUpdateSql(XyhJzJobEntity t);
 	/**
	 * 默认按钮-sql增强-删除操作
	 * @param id
	 * @return
	 */
 	public boolean doDelSql(XyhJzJobEntity t);
}
